<?php
include_spip('functions/pdk_common');
require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.ProductModel.php');

function formulaires_ecatalogue_composite_charger_dist($id_article) {    
	$valeurs = array();
    $p_mdl = pdk_load_class('ProductModel','classes');    
    $valeurs = $p_mdl->select_by_id($id_article);
    //$valeurs['length2'] = $valeurs['length'];
    
	return $valeurs;
}

?>